<template>
  <div>
    <!-- rdz头部区域 -->
    <tmsHeader :tmsheader="tmsheader"></tmsHeader>

    <!-- 添加合同按钮 -->
    <el-button type="success" @click="handleAddDriverContract">添加合同</el-button>
  </div>
</template>

<script>
// 导入rdz头部区域
import tmsHeader from "../../TmsHeader";

export default {
  name: "",
  data() {
    return {
      //rdz头部组件的参数
      tmsheader: {
        tmsBigTitle: "承运商",
        tmsATitle: "合同管理",
        tmsBTitle: "外协司机合同",
      },
    };
  },
  components: {
    tmsHeader,
  },
  methods: {
    // 点击跳转 添加外协合同 页面
    handleAddDriverContract() {
      this.$router.push("/carrier/contract/addrivercontract");
    },
  },
};
</script>
<style lang='less' scoped>
</style>